<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'channel-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'aid'); ?>
		<?php echo $form->textField($model,'aid'); ?>
		<?php echo $form->error($model,'aid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'father'); ?>
		<?php echo $form->textField($model,'father'); ?>
		<?php echo $form->error($model,'father'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'son'); ?>
		<?php echo $form->textField($model,'son'); ?>
		<?php echo $form->error($model,'son'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mobName'); ?>
		<?php echo $form->textField($model,'mobName',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'mobName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mobKeywords'); ?>
		<?php echo $form->textField($model,'mobKeywords',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'mobKeywords'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mobDescription'); ?>
		<?php echo $form->textField($model,'mobDescription',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'mobDescription'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mobContent'); ?>
		<?php echo $form->textField($model,'mobContent',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'mobContent'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type'); ?>
		<?php echo $form->textField($model,'type'); ?>
		<?php echo $form->error($model,'type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'lastdate'); ?>
		<?php echo $form->textField($model,'lastdate',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'lastdate'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->